const state = {
    "STAND": 0,
    "WALK": 1,
    "JUMP": 2,
    "ROPE": 3,
    "LADDER": 4,
    "ATTACK": 5
}



class Player {
    constructor(playerId, x, y) {
        this.playerId = playerId;
        this.state = state.STAND;
        this.move(x, y);
    }
    move(x, y) {
        this.x = x;
        this.y = y;
    }
}